﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class Calculate
    {
        public int Num1()
        {
            Console.WriteLine("请输入第一个数");
            int num1 = int.Parse(Console.ReadLine());
            return num1;
        }
        public int Num2()
        {
            Console.WriteLine("请输入第二个数");
            int num2 = int.Parse(Console.ReadLine());
            return num2;
        }
        public virtual string DisplayResult()
        {
            Console.WriteLine("请输入计算字符");
            string Ch = Console.ReadLine();
            return Ch;
        }
    }
}
